/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.application.web.event;

import com.nus.application.web.base.form.BaseForm;
import com.nus.dataaccess.dao.event.Event;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author 
 */
public class EventMaintenanceForm extends BaseForm{

    private List<Event> events;
    public List<Event> getEvents() {return events;}
    public void setEvents(List<Event> events) {this.events = events;}

    private Event event;
    public Event getEvent() {return event;}
    public void setEvent(Event event) {this.event = event;}

    public EventMaintenanceForm(){
        this.events = new ArrayList<Event>();
        this.event = new Event();
    }

    @Override
    public List<Event> getList() {return this.getEvents();}

}
